<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>购物车</title>
    <link rel="icon" href="/static/cart/img/心04.png" type="/image/x-icon" />
    <link rel="stylesheet" href="/static/cart/css/One_bdyStyle.css">
    <link rel="stylesheet" href="/static/cart/css/index.css">
    <script src="/static/cart/js/jquery-3.1.1.min.js" charset="utf-8"></script>
    <link rel="stylesheet" href="/static/cart/css/One_mainFoot.css">
    <link rel="stylesheet" href="/static/cart/css/font-awesome-4.7.0/css/font-awesome.css" />
</head>
<body>
<header>
    <a name="mao1">
        <div class="header">

            <ul class="header-left">
                <li>

                    <a href="http://asxyyjh.com">首页</a>
                </li>

            </ul>
            <ul class="header-right">
                <li>
                    <a th:if="${session.loginUser!=null}">欢迎[[${session.loginUser==null?'':session.loginUser.nickname }]]</a>
                    <a if="http://auth.asxyyjh.com/login.html" th:if="${session.loginUser==null}">你好，请登录</a>
                </li>
                <li>
                    <a href="http://auth.asxyyjh.com/reg.html" class="li_2" th:if="${session.loginUser==null}">免费注册</a>
                </li>
                <li class="spacer"></li>
                <li><a href="">我的订单</a></li>
                <li class="spacer"></li>

            </ul>
            <div style="clear: both;"></div>
        </div>

    </a>
</header>
<div class="one_search">

    <div class="one_sousuo">
        <div class="one_search_top">
            <div class="one_top_left">
                <a href="http://asxyyjh.com" class="one_left_logo"><img src="/static/cart/img/logo1.jpg"></a>
                <a href="#" class="one_left_link">下单页</a>
            </div>
            <div class="one_top_right">
                <input type="text" class="one_right_txt" placeholder="" onfocus="this.placeholder=''" onblur="this.placeholder='' ">
                <input type="button" value="搜索" class="one_right_btn">
            </div>
        </div>
        <div class="one_search_load" th:if="${session.loginUser == null}">
            <img src="/static/cart/img/shop_07.jpg" class="one_load_wraing">
            <span>您还没有登录！登录后购物车的商品将保存到您账号中</span>
            <a href="#"><input type="button" onclick="login()" value="立即登录" class="one_load_btn"></a>
        </div>
        <form th:action="@{/myPay/pay}" method="post">

            <h2 >您的订单好为[[${tradeNo}]],确定下单嘛？</h2>
            <input type="hidden" name="tradeNo" th:value="${tradeNo}" required /><br />
            <input type="hidden" name="amount" th:value="${totalPrice}" required /><br />
            <input type="hidden" name="name" th:value="${name}" required /> <br />
            <input type="hidden" name="desc" /><br />
            <a type="submit" href="http://cart.asxyyjh.com/cart.html">返回</a>
            <input type="submit" value="下单" />
        </form>
    </div>
</div>



</body>
<script src="/static/cart/js/index.js" charset="utf-8"></script>

</html>